package com.learn.core.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * @auther CodeGenerator
 * @create 2021-03-13 19:41:29
 * @describe 章节表实体类
 */
@TableName("l_chapter")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="LChapter对象", description="章节表")
public class LChapter implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "chapter_id", type = IdType.AUTO)
    private Integer chapterId;

        @ApiModelProperty(value = "章节名称")
        @TableField("chapter_name")
    private String chapterName;

        @ApiModelProperty(value = "章节目录id")
        @TableField("chapter_item")
    private Integer chapterItem;

        @ApiModelProperty(value = "课程排序")
        @TableField("chapter_seq")
    private String chapterSeq;

        @ApiModelProperty(value = "课程类型")
        @TableField("chapter_type")
    private String chapterType;

        @ApiModelProperty(value = "课程id")
        @TableField("course_id")
    private Integer courseId;

        @ApiModelProperty(value = "课程类型")
        @TableField("learn_type")
    private String learnType;

        @ApiModelProperty(value = "页面状态")
        @TableField("page_stutes")
    private String pageStutes;

        @ApiModelProperty(value = "控制状态")
        @TableField("control_stutes")
    private String controlStutes;

        @ApiModelProperty(value = "下载状态")
        @TableField("load_stutes")
    private String loadStutes;

    @TableField("create_time")
    private Date createTime;

    @TableField("create_user")
    private String createUser;

    @TableField("update_time")
    private Date updateTime;

    @TableField("update_user")
    private String updateUser;

    @ApiModelProperty(value = "课件id")
    @TableField("courseware_id")
    private Integer coursewareId;

    @TableField(exist = false)
    private List<LChapter> lChilLChapter;

    @TableField(exist = false)
    private LCourseware lCourseware;

    @TableField(exist = false)
    private LLearn lLearn;

    public LLearn getlLearn() {
        return lLearn;
    }

    public void setlLearn(LLearn lLearn) {
        this.lLearn = lLearn;
    }

    public LCourseware getlCourseware() {
        return lCourseware;
    }

    public void setlCourseware(LCourseware lCourseware) {
        this.lCourseware = lCourseware;
    }

    public List<LChapter> getlChilLChapter() {
        return lChilLChapter;
    }

    public void setlChilLChapter(List<LChapter> lChilLChapter) {
        this.lChilLChapter = lChilLChapter;
    }

    public Integer getChapterId() {
        return chapterId;
    }

    public LChapter setChapterId(Integer chapterId) {
        this.chapterId = chapterId;
        return this;
    }

    public String getChapterName() {
        return chapterName;
    }

    public LChapter setChapterName(String chapterName) {
        this.chapterName = chapterName;
        return this;
    }

    public Integer getChapterItem() {
        return chapterItem;
    }

    public LChapter setChapterItem(Integer chapterItem) {
        this.chapterItem = chapterItem;
        return this;
    }

    public String getChapterSeq() {
        return chapterSeq;
    }

    public LChapter setChapterSeq(String chapterSeq) {
        this.chapterSeq = chapterSeq;
        return this;
    }

    public String getChapterType() {
        return chapterType;
    }

    public LChapter setChapterType(String chapterType) {
        this.chapterType = chapterType;
        return this;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public LChapter setCourseId(Integer courseId) {
        this.courseId = courseId;
        return this;
    }

    public String getLearnType() {
        return learnType;
    }

    public LChapter setLearnType(String learnType) {
        this.learnType = learnType;
        return this;
    }

    public String getPageStutes() {
        return pageStutes;
    }

    public LChapter setPageStutes(String pageStutes) {
        this.pageStutes = pageStutes;
        return this;
    }

    public String getControlStutes() {
        return controlStutes;
    }

    public LChapter setControlStutes(String controlStutes) {
        this.controlStutes = controlStutes;
        return this;
    }

    public String getLoadStutes() {
        return loadStutes;
    }

    public LChapter setLoadStutes(String loadStutes) {
        this.loadStutes = loadStutes;
        return this;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public LChapter setCreateTime(Date createTime) {
        this.createTime = createTime;
        return this;
    }

    public String getCreateUser() {
        return createUser;
    }

    public LChapter setCreateUser(String createUser) {
        this.createUser = createUser;
        return this;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public LChapter setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
        return this;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public LChapter setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
        return this;
    }

    public Integer getCoursewareId() {
        return coursewareId;
    }

    public LChapter setCoursewareId(Integer coursewareId) {
        this.coursewareId = coursewareId;
        return this;
    }

    @Override
    public String toString() {
        return "LChapter{" +
        "chapterId=" + chapterId +
        ", chapterName=" + chapterName +
        ", chapterItem=" + chapterItem +
        ", chapterSeq=" + chapterSeq +
        ", chapterType=" + chapterType +
        ", courseId=" + courseId +
        ", learnType=" + learnType +
        ", pageStutes=" + pageStutes +
        ", controlStutes=" + controlStutes +
        ", loadStutes=" + loadStutes +
        ", createTime=" + createTime +
        ", createUser=" + createUser +
        ", updateTime=" + updateTime +
        ", updateUser=" + updateUser +
        ", coursewareId=" + coursewareId +
        "}";
    }
}